package com.zg.autoflow.service;



import com.zg.autoflow.req.AutoflowSubAddReq;
import com.zg.autoflow.vo.AutoflowSubBatchVo;
import com.zg.autoflow.vo.AutoflowSubUpdateVo;
import com.zg.common.core.dao.autoflow.entity.AutoflowSub;

import java.util.List;

/**
* @author zg
*/
public interface AutoflowSubService {
    /**
    * 新增
    * @param param
    * @return
    */
    AutoflowSub addOrUpdate(AutoflowSubAddReq param);

    /**
    * 删除
    * @param idList 实体ID列表
    */
    void del(List<Long> idList);

    /**
    * 更新
    * @param param
    * @return
    */
    AutoflowSub update(AutoflowSubUpdateVo param);

    /**
    * 批量更新
    * @param param
    */
    void batchUpdate(AutoflowSubBatchVo param);
}
